import App from './App'

import uvUI from '@/uni_modules/uv-ui-tools'

import { createSSRApp } from 'vue'

import { Request } from '@/sheep/request'

import { initPinia } from '@/sheep/store'

export function createApp() {
  const app = createSSRApp(App)
  // 引入请求封装
  Request(app)
	
  app.use(initPinia()).use(uvUI)
	
  return {
    app
  }
}
